package com.ruoyi.admin.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 商品类别对象 ml_goods_category
 * 
 * @author ruoyi
 * @date 2025-03-18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value ="ml_goods_category")
public class MlGoodsCategoryDto extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品类别ID */
    @TableField(value = "id")
    private Long id;

    /** 商品类别名称 */
    @Excel(name = "商品类别名称")
    private String categoryName;

    /** 商品类别是否有效 0:移除 1:正常 */
    @Excel(name = "商品类别是否有效 0:移除 1:正常")
    private Long isActive;
    /** 商品信息 */
    @TableField(exist = false)
    private MlGoodsDto mlGoodsDto;
    /** 优惠卷信息 */
    @TableField(exist = false)
    private MlPromotionDto mlPromotionDto;

}
